<?php
require_once 'SendMaill.class.php';
header("Content-type:text/html;charset=utf-8");
set_time_limit(60);
//构建邮件
$mail=array(
    "subject"=>"SMTP",
    "body"=>array(
        'content'=>"test",
    ),
    'attach'=>array(
       'l.php', 'test.php','test.php'
    )
);
print_r("<pre/>");
$test=new SendMaill("smtp.163.com","25","18996415851@163.com","*******",false,false);
$test->sendMail("2361020495@qq.com",$mail,true);

